From 8c1dd07b9db044cfe967ccc43db143d96da42b16 Mon Sep 17 00:00:00 2001 From: Mohamed Abdulla Date: Wed, 25 Mar 2026 21:42:33 +0300 Subject: [PATCH] appDisplay: Go to item page for items dropped on page indicators The page could be full so the item is dropped on the page after it instead. Part-of: --- js/ui/appDisplay.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 0769ef65b..105796dc2 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1007,7 +1007,8 @@ var BaseAppView = GObject.registerClass({ const position = page < nPages ? -1 : 0; this._moveItem(source, page, position); - this.goToPage(page); + const realPage = this._grid.getItemPage(source); // could be the next page, if the requested one was full + this.goToPage(realPage); } else if (this._delayedMoveData) { // Dropped before the icon was moved const {page, position} = this._delayedMoveData; -- 2.39.5